package com.ygqh.baby.mapper;
import com.ygqh.baby.po.YgMobile;
import com.ygqh.baby.po.YgMobileExample;
import com.ygqh.baby.ao.QueryInfo;

import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface YgMobileMapper {
    int countByExample(YgMobileExample example);

    int deleteByExample(YgMobileExample example);

    int deleteByPrimaryKey(Long id);

    int insert(YgMobile record);

    int insertSelective(YgMobile record);

    List<YgMobile> selectByExample(YgMobileExample example);

    YgMobile selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") YgMobile record, @Param("example") YgMobileExample example);

    int updateByExample(@Param("record") YgMobile record, @Param("example") YgMobileExample example);

    int updateByPrimaryKeySelective(YgMobile record);

    int updateByPrimaryKey(YgMobile record);
    
    int countSuper(@Param ("q") String q,@Param ("startTime")Date startTime,@Param ("endTime")Date endTime);
    
    List<YgMobile> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param ("q") String q,@Param ("startTime")Date startTime,@Param ("endTime")Date endTime);
    
}



